package com.cn.wanxi;

/**
 * 变量
 */
public class Variable {
    int salary;
    int age = 20;


    public static void main(String[] args) {
        int salary = 12000;
        System.out.println(salary);
        salary = 15000;
        System.out.println(salary);
        int age = 18;
        System.out.println(age);
        int a = 0, b, c, d;
        System.out.println(a);
    }
    public void aa(){
        System.out.println(salary);
//        System.out.println(b);
    }
}
